﻿using SqlSugar;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCVP.Net8.Model.Models
{
    [SugarTable("Book")]
    public class Book : RootEntityTkey<Guid>
    {
        /// <summary>
        /// 书名
        /// </summary>
        [SugarColumn(Length = 50)]
        public string BookName { get; set; }
        /// <summary>
        /// 作者名
        /// </summary>
        [SugarColumn(Length = 50)]
        public string BookAuthor { get; set; }
        /// <summary>
        /// 封面
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string BookImage { get; set; }
        /// <summary>
        /// 字数
        /// </summary>
        public int BookWords { get; set; }
        /// <summary>
        /// 发行时间
        /// </summary>
        public DateTime BookCreateDate { get; set; }
        /// <summary>
        /// 书籍状态 false-连载 true-完结
        /// </summary>
        public bool BookStatus { get; set; }

    }
}
